From a887cb5666d65c981a6e5a25a64ddfb0a2ec410c Mon Sep 17 00:00:00 2001 From: robertlipe Date: Mon, 7 Jul 2014 04:20:57 +0000 Subject: [PATCH] More minor removals from CET. Regenerate deps; don't depend on files that don't exist. --- gpsbabel/Makefile.in | 32 +++++++++++++++----------------- gpsbabel/cet_util.cc | 12 ------------ gpsbabel/cet_util.h | 6 ------ 3 files changed, 15 insertions(+), 35 deletions(-) diff --git a/gpsbabel/Makefile.in b/gpsbabel/Makefile.in index 4f23342ca..751a9417f 100644 --- a/gpsbabel/Makefile.in +++ b/gpsbabel/Makefile.in @@ -444,16 +444,7 @@ cet.o: cet.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \ cet.h cet_util.h inifile.h session.h src/core/datetime.h cet_util.o: cet_util.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ gbfile.h cet.h cet_util.h inifile.h session.h src/core/datetime.h \ - cet/ansi_x3_4_1968.h cet/iso_8859_1.h cet/iso_8859_8.h \ - cet/iso_8859_15.h cet/cp1252.h cet/cp1255.h cet/iso_8859_2.h \ - cet/cp1250.h cet/latin_greek_1.h cet/macintosh.h cet/cp1251.h \ - cet/cp1253.h cet/cp1254.h cet/cp1256.h cet/cp1257.h cet/ibm437.h \ - cet/ibm850.h cet/ibm851.h cet/ibm852.h cet/ibm855.h cet/ibm857.h \ - cet/ibm860.h cet/ibm861.h cet/ibm862.h cet/ibm863.h cet/ibm864.h \ - cet/ibm865.h cet/ibm868.h cet/ibm869.h cet/iso_8859_10.h \ - cet/iso_8859_13.h cet/iso_8859_14.h cet/iso_8859_3.h cet/iso_8859_4.h \ - cet/iso_8859_5.h cet/iso_8859_6.h cet/iso_8859_7.h cet/iso_8859_9.h \ - cet/koi8_r.h cet/koi8_ru.h cet/koi_8.h + cet/ansi_x3_4_1968.h cet/cp1252.h compegps.o: compegps.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ gbfile.h cet.h cet_util.h inifile.h session.h src/core/datetime.h \ csv_util.h jeeps/gpsmath.h jeeps/gpsport.h @@ -492,7 +483,9 @@ duplicate.o: duplicate.cc defs.h config.h queue.h zlib/zlib.h \ src/core/datetime.h filterdefs.h easygps.o: easygps.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ gbfile.h cet.h cet_util.h inifile.h session.h src/core/datetime.h -energympro.o: energympro.cc defs.h config.h gbfile.h +energympro.o: energympro.cc defs.h config.h queue.h zlib/zlib.h \ + zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h \ + src/core/datetime.h enigma.o: enigma.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ gbfile.h cet.h cet_util.h inifile.h session.h src/core/datetime.h exif.o: exif.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \ @@ -521,7 +514,7 @@ garmin.o: garmin.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h \ jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h \ jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h \ - garmin_tables.h garmin_fs.h garmin_device_xml.h + jeeps/gpsserial.h garmin_tables.h garmin_fs.h garmin_device_xml.h garmin_device_xml.o: garmin_device_xml.cc defs.h config.h queue.h \ zlib/zlib.h zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h \ src/core/datetime.h xmlgeneric.h garmin_device_xml.h @@ -607,8 +600,9 @@ gpx.o: gpx.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \ jeeps/gps.h jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h \ jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h jeeps/gpsprot.h \ jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h jeeps/gpsmem.h \ - jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h src/core/file.h \ - src/core/xmlstreamwriter.h src/core/xmltag.h + jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h garmin_tables.h \ + src/core/logging.h src/core/file.h src/core/xmlstreamwriter.h \ + src/core/xmltag.h grtcirc.o: grtcirc.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ gbfile.h cet.h cet_util.h inifile.h session.h src/core/datetime.h \ grtcirc.h @@ -659,7 +653,7 @@ jeeps/gpsapp.o: jeeps/gpsapp.cc jeeps/gps.h jeeps/../defs.h config.h \ jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h \ jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h \ jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h \ - jeeps/garminusb.h jeeps/gpsusbint.h + jeeps/garminusb.h jeeps/gpsusbint.h jeeps/gpsserial.h jeeps/gpscom.o: jeeps/gpscom.cc jeeps/gps.h jeeps/../defs.h config.h \ queue.h zlib/zlib.h zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h \ session.h src/core/datetime.h jeeps/gpsport.h jeeps/gpsdevice.h \ @@ -741,7 +735,7 @@ jeeps/gpsserial.o: jeeps/gpsserial.cc jeeps/gps.h jeeps/../defs.h \ jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h \ jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \ jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsinput.h \ - jeeps/gpsproj.h jeeps/gpsserial.h jeeps/../gbser.h + jeeps/gpsproj.h jeeps/gpsserial.h jeeps/../gbser.h gbser_posix.h jeeps/gpsusbcommon.o: jeeps/gpsusbcommon.cc jeeps/gps.h jeeps/../defs.h \ config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h cet.h cet_util.h \ inifile.h session.h src/core/datetime.h jeeps/gpsport.h \ @@ -807,6 +801,9 @@ mapasia.o: mapasia.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ mapbar_track.o: mapbar_track.cc defs.h config.h queue.h zlib/zlib.h \ zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h \ src/core/datetime.h +mapfactor.o: mapfactor.cc defs.h config.h queue.h zlib/zlib.h \ + zlib/zconf.h gbfile.h cet.h cet_util.h inifile.h session.h \ + src/core/datetime.h src/core/file.h src/core/xmlstreamwriter.h mapsend.o: mapsend.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ gbfile.h cet.h cet_util.h inifile.h session.h src/core/datetime.h \ mapsend.h magellan.h @@ -1005,7 +1002,8 @@ waypt.o: waypt.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ grtcirc.h garmin_fs.h jeeps/gps.h jeeps/gpsport.h jeeps/gpsdevice.h \ jeeps/gpssend.h jeeps/gpsread.h jeeps/gpsutil.h jeeps/gpsapp.h \ jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmath.h \ - jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h + jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h \ + src/core/logging.h wbt-200.o: wbt-200.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h \ gbfile.h cet.h cet_util.h inifile.h session.h src/core/datetime.h \ gbser.h grtcirc.h diff --git a/gpsbabel/cet_util.cc b/gpsbabel/cet_util.cc index 9cd516345..9a7b09fe8 100644 --- a/gpsbabel/cet_util.cc +++ b/gpsbabel/cet_util.cc @@ -53,18 +53,6 @@ static int cet_output = 0; /* %%% short hand strings transmission for main character sets %%% */ -char* -cet_str_utf8_to_us_ascii(const char* src) -{ - return cet_str_utf8_to_any(src, &cet_cs_vec_ansi_x3_4_1968); -} - -char* -cet_str_us_ascii_to_utf8(const char* src) -{ - return cet_str_any_to_utf8(src, &cet_cs_vec_ansi_x3_4_1968); -} - char* cet_str_utf8_to_cp1252(const char* src) { diff --git a/gpsbabel/cet_util.h b/gpsbabel/cet_util.h index 5473e1af6..934397e63 100644 --- a/gpsbabel/cet_util.h +++ b/gpsbabel/cet_util.h @@ -44,12 +44,6 @@ char* cet_str_iso8859_1_to_utf8(const char* src); char* cet_str_utf8_to_iso8859_1(const char* src); extern cet_cs_vec_t cet_cs_vec_iso8859_1; -char* cet_str_iso8859_15_to_utf8(const char* src); -char* cet_str_utf8_to_iso8859_15(const char* src); -extern const cet_cs_vec_t cet_cs_vec_iso8859_15; - -char* cet_str_utf8_to_us_ascii(const char* src); -char* cet_str_us_ascii_to_utf8(const char* src); extern cet_cs_vec_t cet_cs_vec_ansi_x3_4_1968; short* cet_str_utf8_to_uni(const char* src, int* length); -- 2.30.2